<?php
class Admin_PicController extends Cff_Controller_Action {
	
	public function preDispatch() {
		
	}
	public function indexAction() {
		//echo $this->view->render("blog.phtml"); // 视图文件为完整网页 不使用layout
	
		echo Cff::renderPhtml("picupload.phtml");//视图文件为网页片段，使用layout
	}
	
	public function uploadAction(){
		$upload = new Admin_Service_Upload();		
		echo $upload->orgUpload($this->view->baseUrl);
	}
}